package com.zy.entity.bs;

import com.zy.entity.base.BaseEntity;
import com.zy.entity.enums.bs.SignUpTypeEnum;
import com.zy.pojo.annotation.Comment;
import org.springframework.web.multipart.MultipartFile;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;
import java.util.List;

@Table(name = "bs_activity")
public class Activity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Comment("")
    private String title;
    @Comment(value = "报名类型：1-报名人数，2-商品数量",clazz = SignUpTypeEnum.class)
    private Integer signUpType;
    @Comment("可报名人数/可购买数量")
    private Integer number;
    @Comment("开始时间")
    private Long beginTime;
    @Comment("结束时间")
    private Long endTime;
    @Comment("报名开始时间")
    private Long enrollBeginTime;
    @Comment("报名结束时间")
    private Long enrollEndTime;
    @Comment("报名费用")
    private BigDecimal price;
    @Comment("")
    private String content;
    @Comment("")
    private Long createUserId;
    @Comment("")
    private Long modifyUserId;
    @Comment("审核状态")
    private Integer checkStatus;
    @Comment("活动状态")
    private Integer activityStatus;
    @Comment("")
    private Long checkUserId;
    private String purchaseNotice;
    @Transient
    private Integer enrolleNumber;

    public Integer getEnrolleNumber() {
        return enrolleNumber;
    }

    public void setEnrolleNumber(Integer enrolleNumber) {
        this.enrolleNumber = enrolleNumber;
    }

    public String getPurchaseNotice() {
        return purchaseNotice;
    }

    public void setPurchaseNotice(String purchaseNotice) {
        this.purchaseNotice = purchaseNotice;
    }

    @Comment
    private String homeImage;//首页图片
    @Comment
    private String homeImageLogo;//首页图片logo
    @Transient
    private String homeImagePath;//首页图片地址
    @Transient
    private String homeImages;
    @Transient
    private String homeImageLogos;

    public String getHomeImages() {
        return homeImages;
    }

    public void setHomeImages(String homeImages) {
        this.homeImages = homeImages;
    }

    public String getHomeImageLogos() {
        return homeImageLogos;
    }

    public void setHomeImageLogos(String homeImageLogos) {
        this.homeImageLogos = homeImageLogos;
    }

    private Long userId;//发布人
    @Transient
    private Integer signUpAmount ;//销售数量
    private Long clubId;

    public Long getClubId() {
        return clubId;
    }

    public void setClubId(Long clubId) {
        this.clubId = clubId;
    }

    public Integer getSignUpAmount() {
        return signUpAmount;
    }

    public void setSignUpAmount(Integer signUpAmount) {
        this.signUpAmount = signUpAmount;
    }

    public Integer getActivityStatus() {
        return activityStatus;
    }

    public void setActivityStatus(Integer activityStatus) {
        this.activityStatus = activityStatus;
    }




    public Integer getSignUpType() {
        return signUpType;
    }

    public void setSignUpType(Integer signUpType) {
        this.signUpType = signUpType;
    }

    public Long getEnrollBeginTime() {
        return enrollBeginTime;
    }

    public void setEnrollBeginTime(Long enrollBeginTime) {
        this.enrollBeginTime = enrollBeginTime;
    }

    public Long getEnrollEndTime() {
        return enrollEndTime;
    }

    public void setEnrollEndTime(Long enrollEndTime) {
        this.enrollEndTime = enrollEndTime;
    }

    public String getHomeImageLogo() {
        return homeImageLogo;
    }

    public void setHomeImageLogo(String homeImageLogo) {
        this.homeImageLogo = homeImageLogo;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getHomeImagePath() {
        return homeImagePath;
    }

    public void setHomeImagePath(String homeImagePath) {
        this.homeImagePath = homeImagePath;
    }

    public String getHomeImage() {
        return homeImage;
    }

    public void setHomeImage(String homeImage) {
        this.homeImage = homeImage;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Long getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Long beginTime) {
        this.beginTime = beginTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Long getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(Long modifyUserId) {
        this.modifyUserId = modifyUserId;
    }

    public Integer getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(Integer checkStatus) {
        this.checkStatus = checkStatus;
    }

    public Long getCheckUserId() {
        return checkUserId;
    }

    public void setCheckUserId(Long checkUserId) {
        this.checkUserId = checkUserId;
    }

}